import {NgModule} from '@angular/core';
import {RouterModule, Routes} from '@angular/router';
import {EmailManageComponent} from './email-manage/email-manage.component';
import {SendEmailsComponent} from './email-manage/send-emails/send-emails.component';

const routers: Routes = [
  {path: '', redirectTo: 'email-manage', pathMatch: 'full'},
  {path: 'email-manage', component: EmailManageComponent, data: {breadcrumb: '站内信管理'}},
  {path: 'send-emails', component: SendEmailsComponent, data: {breadcrumb: '发送站内信'}},
];

@NgModule({
  declarations: [],
  imports: [
    RouterModule.forChild(routers)
  ]
})
export class CustomerManageRoutingModule {
}
